from django.conf.urls.defaults import *
# local
from pubblr.settings import PATH

# enable the admin
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^$', 'pubblr.views.index'),
    (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 
                                                             PATH + 'static/'}),       
    (r'^admin/', include(admin.site.urls)),
    #(r'^product-info/', include('pubblr.apps.productinfo.urls')),
    (r'^reviews/', include('pubblr.apps.reviews.urls')),
)
